<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<form>
  Select Gender:

  <label><input type="radio" name="gender" value="male" required>Male</label>

  <div><label><input type="radio" name="gender" value="female" required>Female</label></div>

  <input type="submit">
</form>
</body>
</html>